﻿using System.ComponentModel.DataAnnotations.Schema;

namespace WebApplication1.Entity
{
    public class UserEntity
    {
        #region 实体数据
        /// <summary>
        ///主键
        /// </summary>
        [Column("ID")]
        public int ID { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        [Column("UserId")]
        public string UserId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Column("Name")]
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [Column("Password")]
        public string Password { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        [Column("Email")]
        public string Email { get; set; }
        /// <summary>
        /// 电话号码
        /// </summary>
        [Column("Telephone")]
        public string Telephone { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        [Column("IsDelete")]
        public bool IsDelete { get; set; }
        /// <summary>
        /// 是否超级管理员
        /// </summary>
        [Column("IsAdministrator")]
        public int IsAdministrator { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Column("CreateName")]
        public string CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateDate")]
        public DateTime CreateDate { get; set; }

        #endregion
    }
}
